import { SaveGame } from "./savegame";

export class SaveGameWorldStorage{
  constructor(){
    // 时间
    this.time = 0;
    // 事件
    this.events = [];
    // 对话锁定
    this.dialogues = [];
    // 任务
    this.tasks = [];
    // 关于地图块资源的数据
    this.mapItem = {};
  }
}

export class SaveGameWorldData extends SaveGame{
  constructor(app){
    super(app, 'savegame_world')
  }

  getDefaultData(){
    return new SaveGameWorldStorage;
  }
}